package com.worldtolearn.offer.bu;

import java.util.List;

import com.worldtolearn.offer.entity.Offer;

public interface IOfferBu {
	
	public abstract void createOffer(Offer offer);

	public abstract void deleteOffer(Offer offer);

	public abstract List<Offer> getAllOffers();

	public abstract List<Offer> getOfferByLabelOffer(String label);
	
	public abstract List<Offer> getOfferBySearchCriteria(String activity);
	
	public abstract List<Offer> getOfferBySearchCriterion(List<Offer>list, String[] criteria);
	
	public abstract List<Offer> getOfferByCountryAndActivity(List<Offer> offers, String pays, String activity);
	
	public abstract List<Offer> getOfferBycountry(List<Offer>offers, String pays);
	
	public abstract List<Offer> getOfferById(int id);

	public abstract List<Offer> getOfferByActivity(List<Offer> listOffer,
			String activityChoisie);

}
